-- GENERATED SPELL FOR [Slitherblade Naga] --


function spell0_4711(pUnit, Event) --@Localized Toxin,n/a--
pUnit:FullCastSpellOnTarget(7947,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4711', 0, 1)
end

function Sorts_4711(pUnit, Event)
local choix_sorts_4711 = math.random(0, 0)
if choix_sorts_4711 == 0 then
pUnit:RegisterEvent('spell0_4711', 1, 1)
end
end

function mob4711_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4711', math.random(1500, 3000), 1)
end

function mob4711_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4711_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4711_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4711, 1, 'mob4711_Action')
RegisterUnitEvent(4711, 2, 'mob4711_Leave')
RegisterUnitEvent(4711, 3, 'mob4711_Kill')
RegisterUnitEvent(4711, 4, 'mob4711_Die')
